package com.mo.admin.api.button.controller;

import com.mo.admin.api.button.service.ButtonService;
import com.mo.admin.common.Result;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("button")
public class AuthButtonController {
    @Resource
    private ButtonService buttonService;

    @GetMapping("auth")
    public Result getAuthButtons() {
        return Result.success(buttonService.getAuthButtons());
    }
}
